<template>
  <div style="width: 300px; height: 300px; background-color: yellow;">
    <ul>
      <li v-for="(item,index) in dataList" :key="index">
        <slot :row="item" :index="index"></slot>
      </li>
    </ul>
    
  </div>
</template>

<script lang="ts" setup>

defineProps<{dataList: any[]}>()

</script>

<style scoped>

</style>